package com.example.springboot.sse;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.time.LocalDateTime;


@Data
public class ZjuEduChatAnswerPush {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "提问记录id")
    private Long askRecordId;

    @ApiModelProperty(value = "chatAi请求唯一标识（重新生成时会更新）")
    private String chatAiRequestId;

    @ApiModelProperty(value = "chatAi响应的唯一标识")
    private String chatAiResponseId;

    @ApiModelProperty("响应次序")
    private Integer sequence;

    @ApiModelProperty("回答内容")
    private String content;

    @ApiModelProperty("思考内容")
    @JSONField(name = "reasoning_content")
    private String reasoningContent;

    @ApiModelProperty("思考-时间（秒）")
    private Integer reasoningSecond;

    @ApiModelProperty("角色")
    private String role;

    @ApiModelProperty(value = "回答时间")
    private LocalDateTime answerTime;
}
